package com.cefa.edu.service;

import com.cefa.edu.dao.ScoreChainDataMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.HashMap;

/**
 * Created by cc664 on 2018/8/8.
 */
@Service
public class ScoreChainDataService {

     @Autowired
     private ScoreChainDataMapper chainDataMapper;
    /**
     * @aa 根据成绩id 获取对应的成绩上链数据
     * @aa add by chaijian
     * @aa data 2018-08-08
     */
    public HashMap<String, Object> getScoreChainDataByScoreId(Integer scoreId){
      return  chainDataMapper.getChainDataByScoreId(scoreId);
    }
}
